package com.test.ch02;

public abstract interface IShape {
    //都是public
    //成员变量 写不写都是Public static final修饰
    public static final int A=1;
    static final int B=10;
    static int c=10;
    final int a=1929;
    String str="qwer";
    //抽象方法写不写 都是public abstract
    public abstract void draw();
    void print();
    //想实现只能被static和default修饰你
    public static void add1(){
        System.out.println("hello1");
    }
    public default void add2(){
        System.out.println("hello2");
    }


}
